<!DOCTYPE html>
<html style="height: 100%;">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <meta name="description" content="「我觉得最有帮助的，并不是我所拥有的知识，而是我对关系的态度」 — 卡尔·罗杰斯">
    <title>由内而外，健康滋养 - 图腾会员专享服务</title>
    <script src="/apps/js/baidu-tongji-mtx.js"></script>
    <link rel="stylesheet" href="/apps/css/bootstrap.min.css">
    <link rel="stylesheet" href="/apps/css/fontawesome-free-6.4.0-web/css/all.css">
    <link rel="stylesheet" href="/apps/css/mui.css">
    <style>
        body {
            padding-bottom: 100px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .footer {
            position: fixed; bottom: 0;
            width: 100%; height: 80px;
            background-color: rgba(15, 76, 129, 1);
            color: white;
        }
        .circle-avatar {
            width: 200px; /* 定义圆形容器的宽度 */
            height: 200px; /* 定义圆形容器的高度 */
            border-radius: 50%; /* 将容器形状定义为圆形 */
            overflow: hidden; /* 裁剪超出容器范围的内容 */
        }
        .circle-avatar img {
            width: 100%; /* 图片填充整个容器 */
            height: auto; /* 自适应高度 */
            object-fit: cover; /* 保持比例并填充整个容器 */
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="row mt-4">
            <div class="col-md-4">
                <div class="circle-avatar">
                    <img src="{{avatar}}" alt="用户头像" class="img-fluid">
                </div>
            </div>
            <div class="col-md-8">
                <h2>会员信息</h2>
                <p><strong>用户UID:</strong> {{uid}}</p>
                <p><strong>用户名称:</strong> {{name}}</p>
                <p><strong>用户手机:</strong> {{phone}}</p>
                <p><strong>登录日期:</strong> {{add_date}}</p>
                <p><strong>会员类型:</strong> {{isPromoterText}}</p>
                <p><strong>用户类型:</strong> {{userTypeText}}</p>
                <p><strong>当前金豆:</strong> {{points}}</p>
                <p><strong>当前图贝:</strong> {{tupay}}</p>
            </div>
        </div>
        <div class="row mt-4">
            <div class="col-md-12">
                <h2>功能</h2>
                <button class="btn btn-primary" onclick="window.location.href='/apps/loyalty/lottery'">金豆抽奖</button>
                <button class="btn btn-primary" onclick="window.location.href='/apps/loyalty/gift'">新春贺礼</button>
            </div>
        </div>
    </div>

    <footer class="footer py-3 text-center" onclick="window.location.href='https://totemlife.cn/apps/loyalty';">
        <div class="container">
            <span>&copy;2023 图腾生命医学</span>
            <span>帮助每个人创造健康和谐的生命体验</span>
        </div>
    </footer>

    <script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
    <script src="/apps/js/bootstrap.bundle.min.js"></script>
    <script src="/apps/js/wx-client-dom.js"></script>
</body>
</html>
